package com.gupaoedu.vip.pattern.factory.abstr;

import com.gupaoedu.vip.pattern.factory.Car;
import com.gupaoedu.vip.pattern.factory.func.AudiCarFactory;

/**
 * Created by Administrator on 2018/3/18.
 */
public class DefaultCarFactory extends AbstractFactory {

    private AudiCarFactory defaultFactory = new AudiCarFactory();

    protected Car getCar() {
        return defaultFactory.getCar();
    }
}
